function playerFire()
for i = 1,10 do
if BulletInfo[i].firing == true then
if BulletInfo[i].direction == "right" then 
BulletInfo[i].x = BulletInfo[i].x + 10 
end
if BulletInfo[i].direction == "left" then 
BulletInfo[i].x = BulletInfo[i].x - 10 
end
if BulletInfo[i].direction == "up"  then 
BulletInfo[i].y = BulletInfo[i].y - 5 
BulletInfo[i].x = BulletInfo[i].x + 10
end
if BulletInfo[i].direction == "down" then 
BulletInfo[i].y = BulletInfo[i].y + 10 
end

screen:blit(BulletInfo[i].x,BulletInfo[i].y,BulletInfo[i].pic)
end
end
end